<template>
  <view>
    <!-- 顶部导航 -->
    <view>
      <f-navbar title="支付" fontSize="35" fontColor="#fff"
        gradient="linear-gradient(90deg,rgb(255, 0, 0),rgb(170, 0, 255))"></f-navbar>
        <!-- gradient="linear-gradient(45deg,rgb(28,187,180),rgb(141,198, 63))" -->
    </view>
    <view v-if="payWay==='微信支付'">
      微信支付
      <!-- <image src=""></image> -->
    </view>
    <view v-if="payWay==='支付宝支付'">
      支付宝支付
      <!-- <image src=""></image> -->
    </view>
    <view v-if="payWay==='钱包支付'">
      钱包支付
      <!-- <image src=""></image> -->
    </view>
    
  </view>
</template>

<script>
  export default {
    data() {
      return {
        payWay:'微信支付',
      };
    },
    onLoad(option){
      this.payWay=option.payWayRadioValue;
      uni.$showMsg("支付成功，3秒后跳转到订单详情页面")
      setTimeout(()=>{
        uni.redirectTo({
          url: '/subpkg/order_detail/order_detail'
        })
      },3000)
    },
  }
</script>

<style lang="scss">

</style>
